package com.ruoyi.pos.domain.dto.system.request;

import com.ruoyi.pos.domain.dto.common.request.BasePageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统配置查询请求DTO
 * 
 * @author ruoyi
 * @date 2025-01-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "系统配置查询请求")
public class SystemConfigQueryRequest extends BasePageRequest {

    @ApiModelProperty(value = "配置ID")
    private Long configId;

    @ApiModelProperty(value = "配置键")
    private String configKey;

    @ApiModelProperty(value = "配置名称")
    private String configName;

    @ApiModelProperty(value = "配置分类", allowableValues = "SYSTEM,DEVICE,PRINT,PAYMENT,OTHER")
    private String configCategory;

    @ApiModelProperty(value = "配置类型", allowableValues = "STRING,NUMBER,BOOLEAN,JSON")
    private String configType;

    @ApiModelProperty(value = "是否启用", allowableValues = "Y,N")
    private String isEnabled;

    @ApiModelProperty(value = "配置值")
    private String configValue;
}
